//
//  ProgramListTableViewCell.m
//  CoolFM
//
//  Created by 曹曹 on 16/9/19.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "ProgramListTableViewCell.h"
#import "ProRecords.h"

@interface ProgramListTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *listener;
@property (weak, nonatomic) IBOutlet UILabel *duration;
@property (weak, nonatomic) IBOutlet UILabel *updateTime;

@end

@implementation ProgramListTableViewCell

- (void)setRecord:(ProRecords *)record {
    _record = record;
    _title.text = record.record_title;
    _listener.text = [NSString stringWithFormat:@"%ld", record.user_acount];
    _duration.text = record.record_file_duration;
    _updateTime.text = record.record_created_at;
}

- (void)awakeFromNib {
    [super awakeFromNib];
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
